using System.Collections.Generic;
using System.Threading.Tasks;
using ThridGroup.ERP.Application.Contracts.DTO;
using Volo.Abp.Application.Services;

namespace ThridGroup.ERP.Application.Contracts.ProductionSystem
{
    /// <summary>
    /// 出货检验管理服务接口
    /// </summary>
    public interface IOutgoingInspectionService : IApplicationService
    {
        /// <summary>
        /// 添加出货检验
        /// </summary>
        Task<int> AddOutgoingInspection(OutgoingInspectionDto outgoingInspectionDto);

        /// <summary>
        /// 获取所有出货检验
        /// </summary>
        Task<List<OutgoingInspectionDto>> GetOutgoingInspections();

        /// <summary>
        /// 获取单个出货检验
        /// </summary>
        Task<OutgoingInspectionDto> GetOutgoingInspection(int id);

        /// <summary>
        /// 更新出货检验
        /// </summary>
        Task<int> UpdateOutgoingInspection(OutgoingInspectionDto outgoingInspectionDto);

        /// <summary>
        /// 删除出货检验
        /// </summary>
        Task DeleteOutgoingInspection(int id);
    }
} 